/*
 * Copyright (c) 2021-2022 HiSilicon (Shanghai) Technologies CO., LIMITED.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Description: SYSERR Library definitions
 */

#ifndef __SYSERR_CONFIG_H__
#define __SYSERR_CONFIG_H__

#include <td_base.h>
#include <soc_task.h>
#include <soc_mem.h>
#if defined(__LITEOS__)
#include <soc_os_stat.h>
#endif
#include <soc_exception.h>
#include "cores_types.h"

/* Features option */
typedef enum panic_id_e {
    // No panic
    PANIC_NONE = 0,
    PANIC_CPU_EXCEPTION = 1,
    PANIC_BTC_MALLOC_FAIL = 2,
    PANIC_WIFI_EXCEPTION = 3,
    PANIC_PLAT_EXCEPTION = 4,
    PANIC_WDT_TIMEOUT = 5,
    PANIC_ID_END = 0xff
} panic_id_e;

#endif /* __SYSERR_CONFIG_H__ */
